package org.jeeasy;

import lombok.extern.slf4j.Slf4j;
import org.dromara.autotable.springboot.EnableAutoTable;
import org.jeeasy.common.core.tools.ApplicationUtil;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * 入 口 启 动 类
 *
 * @author AlpsDDJ
 * @date
 */
@Slf4j
@EnableAutoTable
@SpringBootApplication
//@MapperScan("org.jeeasy.**.mapper")
//@EnableConfigurationProperties({ SwaggerModuleConfiguration.class })
public class JeeasyEntranceApplication extends SpringBootServletInitializer {
    public static void main(String[] args) {
        ConfigurableApplicationContext application = SpringApplication.run(JeeasyEntranceApplication.class, args);
        ApplicationUtil.printAppInfo(application);
    }
}
